package com.dhu6016.wiki_information_store.service;

import com.dhu6016.wiki_information_store.domain.Demo;
import com.dhu6016.wiki_information_store.mapper.DemoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 * @create 2022-05-01-19:22
 */
@Service
public class  DemoService {

    @Resource
    private DemoMapper demoMapper;

    public List<Demo> list(){
        return demoMapper.selectByExample(null);
    }
}
